﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Model.Models.ClienteModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Perfil
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Perfil</h2>
    <fieldset>
        <legend>Perfil do Cliente</legend>
        <%: Html.HiddenFor(model => model.Id_Cliente) %>
        <table border="0">
            <tr>
                <td height="70" width="70%">
                    <asp:Image ID="Image1" runat="server" Height="180px" Width="140px" />
                </td>
                <td height="70" width="70%">
                    Nome
                    <%: Html.DisplayFor(model => model.Nome) %>
                </td>
            </tr>
            <tr>
                <td height="70" width="70%">
                    Cpf
                    <%: Html.DisplayFor(model => model.Cpf) %>
                </td>
                <td height="70" width="70%">
                    Email
                    <%: Html.DisplayFor(model => model.Email) %>
                </td>
            </tr>
            <tr>
                <td height="70" width="70%">
                    Data Nascimento
                    <%: Html.DisplayFor(model => model.DataNascimento) %>
                </td>
                <td height="70" width="70%">
                    Telefone
                    <%: Html.DisplayFor(model => model.Telefone) %>
                </td>
            </tr>
            <tr>
                <td height="70" width="70%">
                    Rua
                    <%: Html.DisplayFor(model => model.Rua) %>
                </td>
                <td height="70" width="70%">
                    Numero
                    <%: Html.DisplayFor(model => model.Numero) %>
                </td>
            </tr>
            <tr>
                <td height="70" width="70%">
                    Bairro
                    <%: Html.DisplayFor(model => model.Bairro) %>
                </td>
                <td height="70" width="70%">
                    Cep
                    <%: Html.DisplayFor(model => model.Cep) %>
                </td>
            </tr>
            <tr>
                <td height="70" width="70%">
                    Cidade
                    <%: Html.DisplayFor(model => model.Cidade) %>
                </td>
                <td height="70" width="70%">
                    Estado
                    <%: Html.DisplayFor(model => model.Estado) %>
                </td>
            </tr>
        </table>
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new {  id=Model.Id_Cliente  }) %>
        |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>
</asp:Content>
